package day04;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

// 正正1/4 正反2/4 反反1/4
public class DoubleColorBalls {
    public static void main(String[] args) {
        Arrays arr;

        List<Integer> balls = new ArrayList<>();
        for (int i = 1; i <= 35; i++) {
            balls.add(i);
        }
        Collections.shuffle(balls);
        List<Integer> prize = new ArrayList<>(balls.subList(0, 6));

        System.out.println(prize);

        for (int i = 0; i < 10000000; i++) {

            Collections.shuffle(balls);
            if (balls.subList(0, 6).equals(prize)) {
                System.out.println("5000,000");
            }

        }
    }
}
